<div>
	<div class="event_date">
		<?php echo $calendar->getStartAt() ?>
	</div>
	<div>
		<?php echo $calendar->getTitle() ?>
	</div>
	<div>
		<?php if( $sf_user->isAuthenticated() == true && $sf_user->hasCredential('Admin') ): ?>
			    <div id="" class="edit">
					<?php echo link_to(
									image_tag(
												'pencil.png'
												, array('style' => 'border:0px;')
											)
									, 'calendar/edit/?id=' . $calendar->getId()
									, array()) ?>
				</div>
		<?php endif; ?>
	</div>
	<div>
		<?php echo $calendar->getDescription() ?>
	</div>
</div>
